<?php
class Book_tour extends MY_Frontend{
    
    public function __construct() {
        parent::__construct();
    }
    var $id;
    function index($tour_id=1)
    {
        $this->session->set_userdata('REDIRECT' , uri_string());
        
        $id=$tour_id;
        $this->load->model('tour_model');
        $this->data['name_tour']=$this->tour_model->get_by_id($id)->tour_name_en;
        $this->layout->view('frontend/book_tour', $this->data);    
    }   
    function booktour()
    {
        
    }
}